package com.jsyl.lwbk.common.constant;

/**
 * 通用常量信息
 *
 *
 */
public class Constants {
    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * 通用成功标识
     */
    public static final String SUCCESS = "0";

    /**
     * 通用失败标识
     */
    public static final String FAIL = "1";

    /**
     * 登录成功
     */
    public static final String LOGIN_SUCCESS = "Success";

    /**
     * 注销
     */
    public static final String LOGOUT = "Logout";

    /**
     * 注册
     */
    public static final String REGISTER = "Register";

    /**
     * 登录失败
     */
    public static final String LOGIN_FAIL = "Error";

    /**
     * 当前记录起始索引
     */
    public static final String PAGE_NUM = "pageNum";

    /**
     * 每页显示记录数
     */
    public static final String PAGE_SIZE = "pageSize";

    /**
     * 排序列
     */
    public static final String ORDER_BY_COLUMN = "orderByColumn";

    /**
     * 排序的方向 "desc" 或者 "asc".
     */
    public static final String IS_ASC = "isAsc";

    /**
     * 参数管理 cache name
     */
    public static final String SYS_CONFIG_CACHE = "sys-config";

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache name
     */
    public static final String SYS_DICT_CACHE = "sys-dict";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     * 资源映射路径 前缀
     */
    public static final String RESOURCE_PREFIX = "/profile";

    /**
     * 加密盐
     */
    public static final String SALT = "JSYL";

    /**
     * 分隔符 冒号':'
     */
    public static final String COLON = ":";

    /**
     * 超级管理员
     */
    public static final String ROLE_SUPERADMIN = "ADMINISTRATOR";

    public static final String ROLE_JY = "TR";
    public static final String ROLE_IT = "DEV";
    public static final String ROLE_HCS = "HCS";
    public static final String ROLE_OPS = "OPS";
    public static final String ROLE_PM = "PM";
    public static final String ROLE_JW = "JW";
    public static final String ROLE_CEO = "CEO";


    public static final String COURSE_THINKING = "32";
    public static final String COURSE_READING = "31";
    public static final String COURSE_LEARNING = "35";
    public static final String COURSE_SENSORY = "36";



    /**
     * 普通管理员
     */
    public static final String ROLE_NORMALADMIN = "normalAdmin";

    /**
     * 校长
     */
    public static final String ROLE_CD = "CD";

    /**
     * 教务长
     */
    public static final String ROLE_TEACHERCHIEF = "EA";

    /**
     * 老师
     */
    public static final String ROLE_TEACHER = "teacher";

    /**
     * 教研
     */
    public static final String ROLE_TEACHINGRESEARCH = "teachingResearch";

    public static final String TOKEN_LOGIN = "TokenJavaAjaxLoginByToken";
    public static final String SYS_ID = "ONETOONE";


}
